package com.example.night.data.Order;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class Order {
    @JsonProperty("order_id")
    private String orderId;

    @JsonProperty("product_id")
    private String productId;

    @JsonProperty("product_name")
    private String productName;

    @JsonProperty("product_img")
    private String productImg;

    @JsonProperty("shop_id")
    private Long shopId;

    @JsonProperty("shop_name")
    private String shopName;

    @JsonProperty("author_buyin_id")
    private String authorBuyinId;

    @JsonProperty("author_account")
    private String authorAccount;

    @JsonProperty("author_short_id")
    private String authorShortId;

    @JsonProperty("total_pay_amount")
    private double totalPayAmount;

    @JsonProperty("flow_point")
    private String flowPoint;

    @JsonProperty("pay_success_time")
    private String paySuccessTime;

    @JsonProperty("settle_time")
    private String settleTime;

    @JsonProperty("in_commission_rate")
    private double inCommissionRate;

    @JsonProperty("in_real_commission")
    private double inRealCommission;

    @JsonProperty("in_estimated_commission")
    private double inEstimatedCommission;

    @JsonProperty("f_institution_id")
    private String fInstitutionId;

    @JsonProperty("f_institution_name")
    private String fInstitutionName;
}
